@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}
body{
    background: #710c19;
}
section{
    position: relative;
    width: 100%;
    height: 100vh;
    transform-style: preserve-3d;
    perspective:500px;

}
section h2{
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 100vh;
    font-size: 10vw;
    color: #fff;
    font-weight: 700;
}
.banner{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;

}
.banner .blocks{
    position: relative;
    display: block;
    width: 5vw;
    height: 5vh;
    animation: animate 2s ease-in-out forwards;
    animation-delay: 1s;
}
@keyframes animate {
    0%{
        transform: translateZ(2000px);
        background: url(../imgs/02.jpg);
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }
    100%{
        transform: translateZ(0px);
        background: url(../imgs/02.jpg);
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        /* border: 1px solid rgba(0,0,0,.1); */
        box-shadow: 0 5px 15px rgba(0,0,0,0);
    }
} 
section.active .banner .blocks{
    animation: animateTwo 2s ease-in-out forwards;
    background: url(../imgs/02.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* border: 1px solid rgba(0,0,0,.1); */
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.5); */
}
@keyframes animateTwo {
    0%{
        transform: translateZ(0px);
        background: url(../imgs/02.jpg);
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }
    100%{
        transform: translateZ(2000px);
        background: url(../imgs/02.jpg);
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        /* border: 1px solid rgba(0,0,0,.1); */
        box-shadow: 0 5px 15px rgba(0,0,0,0);
    }
}





